<?php
/**
 * Created by PhpStorm.
 * User: geolo
 * Date: 2018/8/8
 * Time: 11:22
 */
$this->title = '直播配置';
$urlManager = Yii::$app->urlManager;
$this->params['active_nav_group'] = 2;
?>
<div class="panel mb-3">
    <div class="panel-header">直播配置</div>
    <div><a href="<?= $urlManager->createUrl(['mch/live/setting', 'store_id' => $data['store_id']])?>">直播配置</a></div>
    <div><a href="<?= $urlManager->createUrl(['mch/live/actor', 'store_id' => $data['store_id']])?>">创建主播</a></div>
    <div><a href="<?=$urlManager->createUrl(['mch/live/index', 'store_id' => $data['store_id']])?>">直播管理</a></div>
    <div><a href="<?=$urlManager->createUrl(['mch/live/stream','store_id'=>$data['store_id']])?>">直播推拉流设置</a></div>
    <div class="panel-body">

        <form class="auto-form" method="post">
            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                    <label class="col-form-label required">AppKey</label>
                </div>
                <div class="col-sm-6">
                    <div class="input-hide">
                        <input class="form-control" value="<?= $datainfo->app_key ?>" name="app_key">
                        <div class="tip-block">已隐藏内容，点击查看或编辑</div>
                    </div>
                </div>

            </div>
            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                    <label class="col-form-label required">应用名称</label>
                </div>
                <div class="col-sm-6">
                    <input class="form-control" value="<?= $datainfo->org_name ?>" name="org_name">
                </div>
            </div>
            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                    <label class="col-form-label required">产品名称</label>
                </div>
                <div class="col-sm-6">
                    <div class="input-hide">
                        <input class="form-control" value="<?= $datainfo->app_name ?>" name="app_name">
<!--                        <div class="tip-block">已隐藏内容，点击查看或编辑</div>-->
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                    <label class="col-form-label required">Client_id</label>
                </div>
                <div class="col-sm-6">
                    <div class="input-hide">
                    <input class="form-control" value="<?= $datainfo->client_id ?>" name="client_id">
                    <div class="tip-block">已隐藏内容，点击查看或编辑</div>
                    </div>
                </div>
            </div>
            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                    <label class="col-form-label required">Client_secret</label>
                </div>
                <div class="col-sm-6">
                    <div class="input-hide">
                        <input class="form-control" value="<?= $datainfo->client_secret ?>" name="client_secret">
                        <div class="tip-block">已隐藏内容，点击查看或编辑</div>
                    </div>
                </div>

            </div>



            <div class="form-group row">
                <div class="form-group-label col-sm-2 text-right">
                </div>
                <div class="col-sm-6">
                    <a class="btn btn-primary auto-form-btn" href="javascript:">保存</a>
                </div>
            </div>
        </form>

    </div>
</div>
